package app;

import codeGenModel.events.TriadEventListenerManager;
import generator.CodeGenerator;

public class CodeGeneratorLauncher {
    
    public static void main(String[] args) {
        TriadEventListenerManager manager = new TriadEventListenerManager();
        CodeGenerator generator = new CodeGenerator("test.asm");
        manager.addTriadEventListener(generator);
        manager.fireInitFile();
        manager.fireInitData();
        manager.fireEndData();
        manager.fireInitCode();
        manager.fireEndCode();
    }

}
